﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccess;
using System.Data;
using System.Data.SqlClient;

namespace BUS
{
    public class QLDiemThi
    {
        public static DataTable xemdiemthi(string masinhvien)
        { 
           return DataAccess.QLDiemThi.xemdiemthi(masinhvien);
        }
        public static string update(string masinhvien, float diemthilan1, float diemthilan2)
        {
            return DataAccess.QLDiemThi.update(masinhvien, diemthilan1, diemthilan2);   
        }
        public static string updatediemlan1(string masv, string mamonhoc, float diemtb)
        {
            return DataAccess.QLDiemThi.updatediemlan1(masv,mamonhoc,diemtb);
        }
        public static string updatediemlan2(string masv, string mamonhoc, float diemtb, float diemthilan2)
        {
            return DataAccess.QLDiemThi.updatediemlan2(masv, mamonhoc, diemtb, diemthilan2);
        }
        public static string LayDiemTrungBinh(string mamonhoc, string masv)
        {
            return DataAccess.QLDiemThi.LayDiemTrungBinh(mamonhoc, masv);
        }
        public static string UpdateDiemTinChi(string masv, string mamonhoc, string diem)
        {
            return DataAccess.QLDiemThi.UpdateDiemTinchi(masv, mamonhoc, diem);
        }
    }
}
